﻿using B.S.RbacData.ErrorCode;
using MediatR;

namespace B.S.RbacData.Write.API.Applications.Commands.RBAC
{

    /// <summary>
    /// 编辑用户信息命令
    /// </summary>
    public class UpdateUserCommand:IRequest<ApiResult<int>>
    {

        /// <summary>
        /// 用户编号
        /// </summary>

        public int  UserId { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; } = null!;


        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; } = null!;

        /// <summary>
        /// 角色Ids
        /// </summary>

        public List<int> RoleIds { get; set; }


    }
}
